package dto;

public class ScoreDTO {
	private int _id;
	private int _questionID;
	private int _answerID;
	private int _score;
	
	public ScoreDTO() {
		this._id = 0;
		this._questionID = 0;
		this._answerID = 0;
		this._score = 0;
	}
	
	public ScoreDTO(ScoreDTO score) {
		this._id = score._id;
		this._questionID = score._questionID;
		this._answerID = score._answerID;
		this._score = score._score;
	}
	
	public ScoreDTO(int id, int questionID, int answerID, int score) {
		this._id = id;
		this._questionID = questionID;
		this._answerID = answerID;
		this._score = score;
	}
	
	public void update(ScoreDTO score) {
		this._questionID = score._questionID;
		this._answerID = score._answerID;
		this._score = score._score;
	}
	
	public void setID(int id) {
		this._id = id;
	}
	public void setQuestionID(int questionID) {
		this._questionID = questionID;
	}
	public void setAnswerID(int answerID) {
		this._answerID = answerID;
	}
	public void setScore(int score) {
		this._score = score;
	}
	
	public int getID() {
		return this._id;
	}
	public int getQuestionID() {
		return this._questionID;
	}
	public int getAnswerID() {
		return this._answerID;
	}
	public int getScore() {
		return this._score;
	}
}
